import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
Vue.use(MintUI)

// // 引入    axios
// import axios from 'axios'
// import VueAxios  from 'vue-axios'
// axios.defaults.baseURL = "http://localhost:3000/"
// Vue.use(VueAxios,axios)

import Vant from 'vant';
import 'vant/lib/index.css';
import { Search } from 'vant';
import { Tab, Tabs } from 'vant';
import { DropdownMenu, DropdownItem } from 'vant';
import { Card } from 'vant';

Vue.use(Card);
Vue.use(DropdownMenu);
Vue.use(DropdownItem);
Vue.use(Tab);
Vue.use(Tabs)
Vue.use(Vant);
Vue.use(Search);

// // 引入moment
// import moment from 'moment'
// Vue.prototype.moment = moment

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
